<?php  
class Controllercommoninfo extends Controller {
	public function index() {
		$this->document->setTitle($this->config->get('config_title'));
		$this->document->setDescription($this->config->get('config_meta_description'));
        
        $this->children = array(
			'common/footer',
			'common/header'
		);
        
		$this->template = $this->config->get('config_template') . '/template/common/info.tpl';
        
		$this->response->setOutput($this->render());										
	}
    public function privacy() {
		$this->document->setTitle($this->config->get('config_title'));
		$this->document->setDescription($this->config->get('config_meta_description'));
        
        $this->children = array(
			'common/footer',
			'common/header'
		);
        
		$this->template = $this->config->get('config_template') . '/template/common/info_privacy.tpl';
        
		$this->response->setOutput($this->render());										
	}
    public function legal() {
		$this->document->setTitle($this->config->get('config_title'));
		$this->document->setDescription($this->config->get('config_meta_description'));
        
        $this->children = array(
			'common/footer',
			'common/header'
		);
        
		$this->template = $this->config->get('config_template') . '/template/common/info_legal.tpl';
        
		$this->response->setOutput($this->render());									
	}
    public function contact() {
		$this->document->setTitle($this->config->get('config_title'));
		$this->document->setDescription($this->config->get('config_meta_description'));
        
        $this->children = array(
			'common/footer',
			'common/header'
		);
        
		$this->template = $this->config->get('config_template') . '/template/common/info_contact.tpl';
        
		$this->response->setOutput($this->render());									
	}
    public function agreement() {
		$this->document->setTitle($this->config->get('config_title'));
		$this->document->setDescription($this->config->get('config_meta_description'));
        
        $this->children = array(
			'common/footer',
			'common/header'
		);
        
		$this->template = $this->config->get('config_template') . '/template/common/info_agreement.tpl';
        
		$this->response->setOutput($this->render());									
	}
}
?>